package edu.sctu.liangyuxiang.day20150517;

/**
 * Created by user20 on 2015/5/17.
 */
public class TextOne extends TextMore{
    public void getTeacherInfo(){
        System.out.println(sortNumber()[3]);
    }

    public void getStudent(int code){
        for (int i = 0; i <sortStudent().length ; i++) {
            if(sortStudent()[i].score > code){
                System.out.println(sortStudent()[i]);
            }
        }
    }


    public void getCode(){
        for (int i = 0; i <pritCoded().length ; i++) {
            if(pritCoded()[0].student[i].score > 65){
                System.out.println(pritCoded()[0].student[i]);
            }
        }
    }
}
